home *** CD-ROM | disk | FTP | other *** search
/ IBM OEM Software Product … CD For PC Manufacturers / IBM OEM Software - Product Sampler CD for PC Manufacturers.iso / InternetIntranets / Notes / LOTUS017.DSK / HTTPD.CNF < prev    next >
Text File  |  1997-07-03  |  38KB  |  835 lines

  1. ###########################################################################################
  2. #         Map suffixes to the content-type of a file.
  3. #         Defaults:  see list below
  4. #         Syntax: Addtype <.suffix><representation><encoding><quality>
  5. #                <quality> is optional
  6. #         This directive may be defined multiple times in the configuration file.
  7. ###########################################################################################
  8.  
  9. AddType  .mime     www/mime                      binary  1.0 # Internal -- MIME is
  10.                                                               # not recursive
  11. AddType  .bin      application/octet-stream      binary  1.0 # Uninterpreted binary
  12. AddType  .oda      application/oda               binary  1.0
  13. AddType  .pdf      application/pdf               binary  1.0
  14. AddType  .ai       application/postscript        8bit    0.5 # Adobe Illustrator
  15. AddType  .PS       application/postscript        8bit    0.8 # PostScript
  16. AddType  .eps      application/postscript        8bit    0.8
  17. AddType  .ps       application/postscript        8bit    0.8
  18. AddType  .rtf      application/x-rtf             7bit    1.0 # RTF
  19. AddType  .csh      application/x-csh             7bit    0.5 # C-shell script
  20. AddType  .dvi      application/x-dvi             binary  1.0 # TeX DVI
  21. AddType  .hdf      application/x-hdf             binary  1.0 # NCSA HDF data file
  22. AddType  .latex    application/x-latex           8bit    1.0 # LaTeX source
  23. AddType  .nc       application/x-netcdf          binary  1.0 # Unidata netCDF data
  24. AddType  .cdf      application/x-netcdf          binary  1.0
  25. AddType  .sh       application/x-sh              7bit    0.5 # Shell-script
  26. AddType  .tcl      application/x-tcl             7bit    0.5 # TCL-script
  27. AddType  .tex      application/x-tex             8bit    1.0 # TeX source
  28. AddType  .texi     application/x-texinfo         7bit    1.0 # Texinfo
  29. AddType  .texinfo  application/x-texinfo         7bit    1.0
  30. AddType  .t        application/x-troff           7bit    0.5 # Troff
  31. AddType  .roff     application/x-troff           7bit    0.5
  32. AddType  .tr       application/x-troff           7bit    0.5
  33. AddType  .man      application/x-troff-man       7bit    0.5 # Troff with man macros
  34. AddType  .me       application/x-troff-me        7bit    0.5 # Troff with me macros
  35. AddType  .ms       application/x-troff-ms        7bit    0.5 # Troff with ms macros
  36. AddType  .src      application/x-wais-source     7bit    1.0 # WAIS source
  37. AddType  .bcpio    application/x-bcpio           binary  1.0 # Old binary CPIO
  38. AddType  .cpio     application/x-cpio            binary  1.0 # POSIX CPIO
  39. AddType  .gtar     application/x-gtar            binary  1.0 # Gnu tar
  40. AddType  .shar     application/x-shar            8bit    1.0 # Shell archive
  41. AddType  .sv4cpio  application/x-sv4cpio         binary  1.0 # SVR4 CPIO
  42. AddType  .sv4crc   application/x-sv4crc          binary  1.0 # SVR4 CPIO with CRC
  43.  
  44. #
  45. #    The following are neutral CAE formats:
  46. #
  47. AddType  .igs      application/iges              binary  1.0 # IGES Graphics format
  48. AddType  .iges     application/iges              binary  1.0 # IGES Graphics format
  49. AddType  .IGS      application/iges              binary  1.0 # IGES Graphics format
  50. AddType  .IGES     application/iges              binary  1.0 # IGES Graphics format
  51. AddType  .stp      application/STEP              8bit    1.0 # ISO-10303 STEP  -
  52. AddType  .STP      application/STEP              8bit    1.0 # Product data files
  53. AddType  .step     application/STEP              8bit    1.0
  54. AddType  .STEP     application/STEP              8bit    1.0
  55. AddType  .dxf      application/dxf               binary  1.0 # DXF (AUTODESK)
  56. AddType  .DXF      application/dxf               binary  1.0
  57. AddType  .vda      application/vda               binary  1.0 # VDA-FS Surface data
  58. AddType  .VDA      application/vda               binary  1.0
  59. AddType  .set      application/set               8bit    1.0 # SET (French CAD std)
  60. AddType  .SET      application/set               8bit    1.0
  61. AddType  .stl      application/SLA               8bit    1.0 #  Stereolithography
  62. AddType  .STL      application/SLA               8bit    1.0
  63. AddType  .ods      application/oleobject         8bit    1.0 # OLE storage
  64.  
  65. #
  66. #     The following are vendor-specific CAD-formats commonly
  67. #     used at CERN and in HEP institutes:
  68. #
  69. AddType  .dwg      application/acad              binary  1.0 # Autocad drawing files
  70. AddType  .DWG      application/acad              binary  1.0
  71. AddType  .SOL      application/solids            binary  1.0 # MATRA Prelude solids
  72. AddType  .DRW      application/drafting          binary  1.0 # Prelude Drafting
  73. AddType  .prt      application/pro_eng           binary  1.0 # PTC Pro/ENGINEER part
  74. AddType  .PRT      application/pro_eng           binary  1.0
  75. AddType  .unv      application/i-deas            binary  1.0 # SDRC I-DEAS files
  76. AddType  .UNV      application/i-deas            binary  1.0
  77. AddType  .CCAD     application/clariscad         binary  1.0 # ClarisCAD files
  78. AddType  .snd      audio/basic                   binary  1.0 # Audio
  79. AddType  .au       audio/basic                   binary  1.0
  80. AddType  .aiff     audio/x-aiff                  binary  1.0
  81. AddType  .aifc     audio/x-aiff                  binary  1.0
  82. AddType  .aif      audio/x-aiff                  binary  1.0
  83. AddType  .wav      audio/x-wav                   binary  1.0 # Windows+ WAVE format
  84. AddType  .bmp      image/bmp                     binary  1.0 # OS/2 bitmap format
  85. AddType  .gif      image/gif                     binary  1.0 # GIF
  86. AddType  .ief      image/ief                     binary  1.0 # Image Exchange fmt
  87. AddType  .jpg      image/jpeg                    binary  1.0 # JPEG
  88. AddType  .JPG      image/jpeg                    binary  1.0
  89. AddType  .JPE      image/jpeg                    binary  1.0
  90. AddType  .jpe      image/jpeg                    binary  1.0
  91. AddType  .JPEG     image/jpeg                    binary  1.0
  92. AddType  .jpeg     image/jpeg                    binary  1.0
  93. AddType  .tif      image/tiff                    binary  1.0 # TIFF
  94. AddType  .tiff     image/tiff                    binary  1.0
  95. AddType  .ras      image/cmu-raster              binary  1.0
  96. AddType  .pnm      image/x-portable-anymap       binary  1.0 # PBM Anymap format
  97. AddType  .pbm      image/x-portable-bitmap       binary  1.0 # PBM Bitmap format
  98. AddType  .pgm      image/x-portable-graymap      binary  1.0 # PBM Graymap format
  99. AddType  .ppm      image/x-portable-pixmap       binary  1.0 # PBM Pixmap format
  100. AddType  .rgb      image/x-rgb                   binary  1.0
  101. AddType  .xbm      image/x-xbitmap               7bit    1.0 # X bitmap
  102. AddType  .xpm      image/x-xpixmap               binary  1.0 # X pixmap format
  103. AddType  .xwd      image/x-xwindowdump           binary  1.0 # X window dump (xwd)
  104. AddType  .html     text/html                     8bit    1.0 # HTML
  105. AddType  .htm      text/html                     8bit    1.0 # HTML on PCs
  106. AddType  .htmls    text/x-ssi-html               8bit    1.0 # Server-side includes
  107. AddType  .shtml    text/x-ssi-html               8bit    1.0 # Server-side includes
  108. AddType  .c        text/plain                    7bit    0.5 # C source
  109. AddType  .h        text/plain                    7bit    0.5 # C headers
  110. AddType  .C        text/plain                    7bit    0.5 # C++ source
  111. AddType  .cc       text/plain                    7bit    0.5 # C++ source
  112. AddType  .hh       text/plain                    7bit    0.5 # C++ headers
  113. AddType  .m        text/plain                    7bit    0.5 # Objective-C source
  114. AddType  .f90      text/plain                    7bit    0.5 # Fortran 90 source
  115. AddType  .txt      text/plain                    7bit    0.5 # Plain text
  116. AddType  .rtx      text/richtext                 7bit    1.0 # MIME Richtext format
  117. AddType  .tsv      text/tab-separated-values     7bit    1.0 # Tab-separated values
  118. AddType  .etx      text/x-setext                 7bit    0.9 # Struct Enchanced Txt
  119. AddType  .MPG      video/mpeg                    binary  1.0 # MPEG
  120. AddType  .mpg      video/mpeg                    binary  1.0
  121. AddType  .MPE      video/mpeg                    binary  1.0
  122. AddType  .mpe      video/mpeg                    binary  1.0
  123. AddType  .MPEG     video/mpeg                    binary  1.0
  124. AddType  .mpeg     video/mpeg                    binary  1.0
  125. AddType  .qt       video/quicktime               binary  1.0 # QuickTime
  126. AddType  .mov      video/quicktime               binary  1.0
  127. AddType  .avi      video/x-msvideo               binary  1.0 # MS Video for Windows
  128. AddType  .movie    video/x-sgi-movie             binary  1.0 # SGI  moviepalyer
  129. AddType  .gz       multipart/x-gzip              binary  1.0
  130. AddType  .zip      multipart/x-zip               binary  1.0 # PKZIP
  131. AddType  .tar      multipart/x-tar               binary  1.0 # 4.3BSD tar
  132. AddType  .ustar    multipart/x-ustar             binary  1.0 # POSIX tar
  133. AddType  *.*       www/unknown                   binary  0.2 # Try to guess
  134. AddType  *         www/unknown                   binary  0.2 # Try to guess
  135. AddType  .cxx      text/plain                    7bit    0.5 # C++
  136. AddType  .for      text/plain                    7bit    0.5 # Fortran
  137. AddType  .mar      text/plain                    7bit    0.5 # MACRO
  138. AddType  .log      text/plain                    7bit    0.5 # logfiles9
  139. AddType  .com      text/plain                    7bit    0.5 # scripts
  140. AddType  .sdml     text/plain                    7bit    0.5 # SDML
  141. AddType  .list     text/plain                    7bit    0.5 # listfiles
  142. AddType  .lst      text/plain                    7bit    0.5 # listfiles
  143. AddType  .def      text/plain                    7bit    0.5 # definition files
  144. AddType  .conf     text/plain                    7bit    0.5 # definition files
  145. AddType  .         text/plain                    7bit    0.5 # files with no extension
  146.  
  147. AddType  .dcr      application/x-director        binary  1.0 # Shockwave for Director
  148. AddType  .dir      application/x-director        binary  1.0 # Shockwave for Director
  149. AddType  .dxr      application/x-director        binary  1.0 # Shockwave for Director
  150.  
  151. ###########################################################################################
  152. ###########################################################################################
  153. #
  154. #             I M P O R T A N T   N O T E:
  155. #
  156. ###########################################################################################
  157. ###########################################################################################
  158. # The contents of this file are used by the Domino server.
  159. # Making changes, additions, or deletions below this note 
  160. # is not supported in this release of Domino.
  161. #
  162. ###########################################################################################
  163.  
  164.  
  165.  
  166. ###########################################################################################
  167. #          Map suffixes to MIME content-encodings.
  168. #          Defaults see list below
  169. #          Syntax:  AddEncoding <.suffix><encoding>
  170. #          Each keyword will have two values.  Multiple keyword/values are
  171. ###########################################################################################
  172.  
  173. AddEncoding  .Z           x-compress    1.0   # Compressed data
  174. AddEncoding  .gz          x-gzip        1.0
  175.  
  176.  
  177.  
  178. ###########################################################################################
  179. #          Map suffixes to the language of a document.
  180. #          Default:  <none>
  181. #          Syntax:   AddLanguage <.suffix><encoding>
  182. #          There will be two values for each keyword.  Multiple keyword/
  183. #          values are allowed.
  184. # Example:
  185. # AddLanguage   .uk  en_UK
  186. ###########################################################################################
  187.  
  188.  
  189.  
  190.  
  191. ###########################################################################################
  192. #
  193. #       Specify path for the standard icons included in directory listings
  194. #       Default:IconPath <ServerRoot>/icons/*
  195. #       Syntax: IconPath <icon directory path>
  196. #
  197. ###########################################################################################
  198. IconPath /icons/
  199.  
  200.  
  201. ###########################################################################################
  202. #       Specify blank icon URL for directory listing
  203. #       Default:  default shown below
  204. #       Syntax:  AddBlankIcon <icon URL><ALT text>
  205. #
  206. #       Specify directory icon URL for directory listing
  207. #       Default:  default shown below
  208. #       Syntax:  AddDirIcon <icon URL><ALT text>
  209. #
  210. #       Specify parent directory icon URL for directory listing
  211. #       Default:  default shown below
  212. #       Syntax:  AddParentIcon <icon URL><ALT text>
  213. #
  214. #       Specify unknown icon URL for directory listing
  215. #       Default:  default shown below
  216. #       Syntax:  AddUnknownIcon <icon URL><ALT text>
  217. #
  218. #       Bind icon URL to a MIME content-type or content-encoding
  219. #       Default:  default set of icons shown below
  220. #       Syntax:  AddIcon <icon URL><ALT text><template>
  221. ###########################################################################################
  222.  
  223. AddBlankIcon   blank.gif
  224. AddDirIcon     dir.gif          DIR
  225. AddParentIcon  back.gif         UP
  226. AddUnknownIcon unknown.gif      ???
  227. AddIcon        binary.gif       BIN  binary
  228. AddIcon        text.gif         TXT  text/*
  229. AddIcon        image.gif        IMG  image/*
  230. AddIcon        movie.gif        MOV  video/*
  231. AddIcon        sound.gif        AU   audio/*
  232. AddIcon        tar.gif          TAR  multipart/*tar
  233. AddIcon        compress.gif     CMP  x-compress x-gzip
  234.  
  235.  
  236.  
  237. ###########################################################################################
  238. #
  239. #          Specify whether case sensitivity for suffixes is on or off.
  240. #          Default:  Off
  241. #          Syntax:  SuffixCaseSense  <on/off>
  242. #          Only one value per keyword is allowed; only one keyword/value
  243. #          pair is allowed.
  244. #
  245. ###########################################################################################
  246. SuffixCaseSense   Off
  247.  
  248.  
  249. ###########################################################################################
  250. #
  251. #         Indicate if the absence of a trailing slash in the URL will
  252. #         provide a directory listing or the default welcome page.
  253. #         Default:  On
  254. #         Syntax:  AlwaysWelcome <on/off>
  255. #
  256. ###########################################################################################
  257. AlwaysWelcome  On
  258.  
  259.  
  260. ###########################################################################################
  261. #
  262. #          Enable/disable or selective directory browsing
  263. #          Default:  On
  264. #          Syntax:  DirAccess <on/off/selective>
  265. #          One value per keyword is allowed.  One keyword/value pair is
  266. #          allowed.
  267. ###########################################################################################
  268.  
  269. DirAccess   off
  270.  
  271. ###########################################################################################
  272. #
  273. #       Configure/disable readme feature for directory browsing.
  274. #       Default:  top
  275. #       Syntax:  DirReadme <top/bottom/off>
  276. #       One value per keyword is allowed.  One keyword/value pair is
  277. #       allowed.
  278. ###########################################################################################
  279. DirReadme  top
  280.  
  281. ###########################################################################################
  282. #
  283. #       Control the appearance of the directory listing.
  284. #       Defaults:  DirShowIcons        On
  285. #                  DirShowDate         On
  286. #                  DirShowSize         On
  287. #                  DirShowDescription  On
  288. #                  DirShowBrackets     On
  289. #                  DirShowCase         On
  290. #                  DirShowHidden       On
  291. #                  DirShowBytes        Off
  292. #       Syntax:  <directive> <on/off>
  293. #       Only one value per keyword is allowed.  Only one keyword/value
  294. #       pair is allowed.
  295. #
  296. ###########################################################################################
  297. DirShowIcons        On
  298. DirShowDate         On
  299. DirShowSize         On
  300. DirShowDescription  On
  301. DirShowBrackets     On
  302. DirShowCase         On
  303. DirShowHidden       On
  304. DirShowBytes        Off
  305.  
  306. ###########################################################################################
  307. #
  308. #       Specify the maximum width for the description text in
  309. #       directory listings.
  310. #       Default:  DirShowMaxDescrLength 25
  311. #       Syntax:  DirShowMaxDescrLength  <num>
  312. #       Only one value per keyword is allowed.  Only one keyword/value
  313. #       pair is allowed.
  314. #
  315. ###########################################################################################
  316. DirShowMaxDescrLength  25
  317.  
  318.  
  319. ###########################################################################################
  320. #
  321. #       Specify the minimum width for the filename field for
  322. #       directory listings.
  323. #       Default:  DirShowMinLength  15
  324. #       Syntax:  DirShowMinLength  <num>
  325. #       Only one value per keyword is allowed.  Only one keyword/value
  326. #       pair is allowed.
  327. ###########################################################################################
  328. DirShowMinLength  15
  329.  
  330. ###########################################################################################
  331. #
  332. #       Specify the maximum width for the filename field for
  333. #       directory listings.
  334. #       Default:  DirShowMaxLength  25
  335. #       Syntax:  DirShowMaxLength  <num>
  336. #       Only one value per keyword is allowed.  Only one keyword/value
  337. #       pair is allowed.
  338. #
  339. ###########################################################################################
  340. DirShowMaxLength  25
  341.  
  342. ###########################################################################################
  343. #
  344. #        Enabling and disabling HTTP methods
  345. #        Defaults:  GET, HEAD, and POST are enabled, the rest are disabled
  346. #        Syntax:  Enable  <method>
  347. #                 Disable  <method>
  348. #
  349. ###########################################################################################
  350. Enable    GET
  351. Enable    HEAD
  352. Enable    POST
  353.  
  354. Disable   PUT
  355. Disable   DELETE
  356.  
  357. ###########################################################################################
  358. #
  359. #         Specify the directory where meta-information should be stored.
  360. #         Default:  .web
  361. #         Syntax:  MetaDir  <directory name>
  362. #         Only one keyword/value pair is allowed
  363. #
  364. ###########################################################################################
  365. MetaDir     .web
  366.  
  367. ###########################################################################################
  368. #
  369. #         Specify the suffix for the file in which meta-information is
  370. #         to be stored.  Meta-information is stored in a file with the
  371. #         same name as the actual document, but appended with a suffix
  372. #         specified by the MetaSuffix directive.
  373. #         Default:  .meta
  374. #         Syntax:  MetaSuffix  <.suffix>
  375. #         Only one value per keyword, but multiple keyword/value pairs
  376. #         are allowed.
  377. #
  378. ###########################################################################################
  379. MetaSuffix     .meta
  380.  
  381. ###########################################################################################
  382. #         The httpd daemon normally gives a content-length header line for
  383. #         every document it returns. When it's running as a proxy it buffers
  384. #         the document received from the remote server before sending it to
  385. #         the client.  This directive can be used to set the value of this
  386. #         buffer.  If it is exceeded the document will be returned without
  387. #         a content-length header field.
  388. #         Default:  50 K
  389. #         Syntax:  MaxContentLengthBuffer  <size in K>
  390. #         Only one keyword/value pair allowed.
  391. #
  392. ###########################################################################################
  393. MaxContentLengthBuffer   50 K
  394.  
  395. ###########################################################################################
  396. #
  397. # User authentication and document protection
  398. #
  399. #       Within the configuration file, there are three directives that define
  400. #       file access protection: Protect, Defprot, and Protection.
  401. #
  402. #       The Protection directive
  403. #       defines how a set of files is to be protected, in other words, a protection set-up.
  404. #       A protection set-up can be the name of a separate protect file or can be defined within the
  405. #       configuration file.
  406. #
  407. #       The Protect and DefProt directives define the association of a protection set-up with a set of
  408. #       files to be protected.  The Defprot statement associates a protection setup with a file template
  409. #       but does not activate the protection.  The Protect statement associates a protection set-up
  410. #       with a file template and activates the protection.
  411. #
  412. #
  413. #
  414. #  Protection directive:
  415. #       Syntax:  Protection set-up name { directives }
  416. #          Within the braces, any combination of nine possible protection directives can be defined:
  417. #          AuthType, ServerID, PassWdFile, GroupFile, GetMask, PutMask, PostMask, Mask, ACLOverride
  418. #       Default:  <none>
  419. #
  420. #
  421. #  Protect directive:
  422. #     Syntax:  Protect template
  423. #     Default:  <none>
  424. #
  425. #  DefProt directive:
  426. #     Syntax:  DefProt template setup
  427. #     Default:  <none>
  428. #
  429. #  Example DefProt and Protect directives
  430. #
  431. #       Protection setup by usernames; specify groups in the group
  432. #       file "if you need groups"; create and maintain password file
  433. #       with the htadm program
  434. #
  435. # Protection PROT-SETUP-USERS {
  436. #         ServerId        YourServersFancyName
  437. #         AuthType        Basic
  438. #         PasswdFile      /where/ever/passwd
  439. #         GroupFile       /where/ever/group
  440. #         GET-Mask        user, user, group, group, user
  441. # }
  442. #
  443. #
  444. #       Protection setup by hosts; you can use both domain name
  445. #       templates and IP number templates
  446. #
  447. # Protection PROT-SETUP-HOSTS {
  448. #         ServerId        YourServersFancyName
  449. #         AuthType        Basic
  450. #         PasswdFile      /where/ever/passwd
  451. #         GroupFile       /where/ever/group
  452. #         GET-Mask        @(*.ibm.com, 128.141.*.*, *.ncsa.uiuc.edu)
  453. # }
  454. # Defprot /very/secret/URL/*
  455. # Protect /very/secret/URL/*      PROT-SETUP-USERS
  456. # Protect /another/secret/URL/*   PROT-SETUP-HOSTS
  457. #
  458. #Protection  PROT-ADMIN  {
  459. #      PasswdFile   C:\WINNT35\admin.pwd
  460. #      Mask         All@(*)
  461. #      PostMask     All@(*)
  462. #      PutMask      All@(*)
  463. #      GetMask      All@(*)
  464. #      AuthType     Basic
  465. #      ServerID     Private_Authorization
  466. #}
  467. #
  468. #Protect  /admin-bin/*  PROT-ADMIN
  469. ###########################################################################################
  470.  
  471.  
  472.  
  473.  
  474.  
  475. ###########################################################################################
  476. #       Pass the URLs that this proxy is willing to forward.
  477. #
  478. # Pass    http:*
  479. # Pass    ftp:*
  480. # Pass    gopher:*
  481. # Pass    wais:*
  482. # Pass    https:*
  483. ###########################################################################################
  484.  
  485.  
  486. ###########################################################################################
  487. #
  488. #       Proxy server protection and caching directives
  489. #
  490. ###########################################################################################
  491. #
  492. #       Proxy protections; if you want only certain domains to use
  493. #       your proxy, uncomment these lines and specify the Mask
  494. #       with hostname templates or IP number templates:
  495. #
  496. # Protection PROXY-PROT {
  497. #       ServerId        YourProxyName
  498. #       Mask            @(*.ibm.com, 128.141.*.*, *.ncsa.uiuc.edu)
  499. # }
  500. # Protect  *  PROXY-PROT
  501. #
  502. # Protect    http:*      PROXY-PROT
  503. # Protect    ftp:*       PROXY-PROT
  504. # Protect    gopher:*    PROXY-PROT
  505. # Protect    wais:*      PROXY-PROT
  506. # Protect    https:*     PROXY-PROT
  507. ###########################################################################################
  508.  
  509.  
  510.  
  511. ###########################################################################################
  512. #
  513. #       Enable caching, specify cache root directory, and cache size
  514. #       in megabytes
  515. #
  516. #       Turn caching on or off
  517. #       Default:  Caching  Off
  518. #       Syntax:  Caching  <On | Off>
  519. #
  520. ###########################################################################################
  521. Caching         Off
  522.  
  523. ###########################################################################################
  524. #
  525. #       Absolute path of the cache directory.  Subdirectories will be created
  526. #       for each protocol cached.
  527. #       Default:  <none>
  528. #       Syntax:  CacheRoot <directory>
  529. # Example:
  530. # CacheRoot       \your\cache\root\dir
  531. #
  532. ###########################################################################################
  533.  
  534. ###########################################################################################
  535. #
  536. #       Maximum cache size in megabytes
  537. #       Default:  CacheSize 5 M
  538. #       Syntax:  CacheSize <size> M
  539. #
  540. ###########################################################################################
  541. CacheSize       5 M
  542.  
  543. ###########################################################################################
  544. #
  545. #       Maximum time to keep cache files.  Files older than specified time
  546. #       are removed.
  547. #       Default:  <none>
  548. #       Syntax:  CacheClean <URL template> <time-spec>
  549. # Examples:
  550. # CacheClean      *                 2 months
  551. # CacheClean      http:*            1 week
  552. # CacheClean      gopher:*          20 days
  553. # CacheClean      http://*.com/*    20 days 6 hours
  554. #
  555. ###########################################################################################
  556.  
  557.  
  558. ###########################################################################################
  559. #       Maximum time to keep unused cache files.  Files older than specified
  560. #       time are removed.
  561. #       Default:  <none>
  562. #       Syntax:  CacheUnused <URL template> <time-spec>
  563. # Examples:
  564. # CacheUnused     http:*          2 weeks
  565. # CacheUnused     ftp:*           1 week
  566. # CacheUnused     gopher:*        1 week
  567. #
  568. ###########################################################################################
  569.  
  570. ###########################################################################################
  571. #
  572. #       Maximum time to keep cache files for which the server gave neither
  573. #       an Expires nor a Last-Modified header.
  574. #       Specify default expiry times for ftp and gopher;
  575. #       NEVER specify it for HTTP, otherwise documents generated by
  576. #       scripts get cached which is usually a bad thing.
  577. #
  578. #       Default: <dependent on protocol>
  579. #       Syntax:  CacheDefaultExpiry <URL template> <time-spec>
  580. ###########################################################################################
  581. CacheDefaultExpiry      ftp:*            1 day
  582. CacheDefaultExpiry      gopher:*       1 day
  583. CacheDefaultExpiry      http:*           0 days
  584.  
  585. ###########################################################################################
  586. #
  587. #       Garbage collection controls
  588. #
  589. #       Enable garbage collection -- remove expired files to free up memory.
  590. #       Default:  Enabled whenever caching is enabled
  591. #       Syntax:  Gc <On | Off>
  592. #
  593. ###########################################################################################
  594. Gc      Off
  595.  
  596. ###########################################################################################
  597. #
  598. #       Daily garbage collection time
  599. #       Default:  03:00
  600. #       Syntax:  GcDailyGC <military time format>
  601. #
  602. ###########################################################################################
  603. GcDailyGc      03:00
  604.  
  605. ###########################################################################################
  606. #
  607. #       Amount of virtual storage in kilobytes to allocate for garbage collection
  608. #       Default:  500
  609. #       Syntax:  GcMemUsage  <number of kilobytes>
  610. #
  611. ###########################################################################################
  612. GcMemUsage      500
  613.  
  614. ###########################################################################################
  615. #
  616. #       Lower limit of size criterion for removal of cached files.  All files
  617. #       below this size are assigned equal size criterion priority.
  618. #       All values are converted to kilobytes
  619. #       Default:  200 kilobytes
  620. #       Syntax:  CacheLimit_1  <number of kilobytes> K
  621. #
  622. ###########################################################################################
  623. CacheLimit_1    200 K
  624.  
  625. ###########################################################################################
  626. #
  627. #       Upper limit of size criterion for removal of cached files.  All files
  628. #       above this size are assigned equal size criterion priority.
  629. #       All values are converted to kilobytes
  630. #       Default:  4 megabytes
  631. #       Syntax:  CacheLimit_2  <number of kilobytes> K
  632. #
  633. ###########################################################################################
  634. CacheLimit_2    4000 K
  635.  
  636. ###########################################################################################
  637. #
  638. #       URLs matching specified template will not be cached.
  639. #       Default:  <none>
  640. #       Syntax:  NoCaching  <URL template>
  641. #       This directive can occur multiple times within the configuration file
  642. # Example:
  643. # NoCaching                   http://Localhost/*
  644. #
  645. ###########################################################################################
  646.  
  647. ###########################################################################################
  648. #
  649. #       Only URLs matching the specified template will be cached.
  650. #       Default:  <none>
  651. #       Syntax:  CacheOnly   <URL template>
  652. #       This directive can occur multiple times within the configuration file
  653. # Example:
  654. # CacheOnly                    http://info.ibm.com/*
  655. #
  656. ###########################################################################################
  657.  
  658. ###########################################################################################
  659. #
  660. #       Proportion of a file's age (LastModified) to be used as the expiry time.
  661. #       This is used to determine expiry time when a remote server
  662. #       does not specify an Expires header. For instance, if a file is
  663. #       1 month old and CacheLastModifiedFactor was set to 0.5, the file
  664. #       would expire in approximatley 15 days.
  665. #       Default:  0.1
  666. #       Syntax:  CacheLastModifiedFactor <proportion>
  667. #
  668. ###########################################################################################
  669. CacheLastModifiedFactor      0.1
  670.  
  671. ###########################################################################################
  672. #
  673. #       Interval of time until document expiry within which document will
  674. #       not be cached.  By default, no document expiring within 2 minutes
  675. #       will be cached.
  676. #       Default:  2 minutes
  677. #       Syntax:  CacheTimeMargin <time margin>
  678. #
  679. ###########################################################################################
  680. CacheTimeMargin              2 minutes
  681.  
  682. ###########################################################################################
  683. #
  684. #       Set proxy to standalone mode so that only documents found in cache
  685. #       are returned.  Files not in cache will return an error rather than
  686. #       connecting to other servers.  This setting is typically used with
  687. #       expiry checking disabled.
  688. #       Default:  Off
  689. #       Syntax:  CacheNoConnect  <On | Off>
  690. #
  691. ###########################################################################################
  692. CacheNoConnect               Off
  693.  
  694. ###########################################################################################
  695. #
  696. #       Set expiry checking to on if you do not want to return an expired
  697. #       document.  If it is desirable to have the proxy always return
  698. #       documents from cache (e.g., for demos), expiry checking can be turned
  699. #       off.
  700. #       Default:  On
  701. #       Syntax:  CacheExpiryCheck <On | Off>
  702. #
  703. ###########################################################################################
  704. CacheExpiryCheck             On
  705.  
  706. ###########################################################################################
  707. #
  708. #       Amount of time after which a cache lock can be broken.  Cache
  709. #       files are locked during retrieval.  The lock timeout ensures
  710. #       that a file will not be locked indefinitely should a retrieval fail.
  711. #       NOTE: CacheLockTimeOut should never be less that OutPutTimeOut.
  712. #       Default:  20 minutes
  713. #       Syntax:  CacheLockTimeOut  <time-spec>
  714. #
  715. ###########################################################################################
  716. CacheLockTimeOut             20 minutes
  717.  
  718. ###########################################################################################
  719. #
  720. #       Path and name of file that contains a log of all document requests.
  721. #       The value can be either an absolute path or a path relative to
  722. #       ServerRoot (one example shown of each)
  723. #       Default:  <none>
  724. #       Syntax:  CacheAccessLog  <file path>
  725. # Examples:
  726. # CacheAccessLog   /absolute/path/logfile
  727. # CacheAccessLog   logs/logfile
  728. #
  729. ###########################################################################################
  730.  
  731. ###########################################################################################
  732. #
  733. #       Configuring Proxy to Connect To Another Proxy
  734. #
  735. #       HTTP proxy server that the server should contact for HTTP requests
  736. #       if the server being configured is part of a chain of proxies.
  737. #       Default:  <none>
  738. #       Syntax:  http_proxy <URL>
  739. #
  740. #       FTP proxy server that the server should contact for FTP requests
  741. #       if the server being configured is part of a chain of proxies.
  742. #       Default:  <none>
  743. #       Syntax:  ftp_proxy <URL>
  744. #
  745. #       Gopher proxy server that the server should contact for Gopher requests
  746. #       if the server being configured is part of a chain of proxies.
  747. #       Default:  <none>
  748. #       Syntax:  gopher_proxy <URL>
  749. #
  750. #       WAIS proxy server that the server should contact for WAIS requests
  751. #       if the server being configured is part of a chain of proxies.
  752. #       Default:  <none>
  753. #       Syntax:  wais_proxy <URL>
  754. #
  755. #       A list of Internet addresses or domains from which the server should
  756. #       retrieve resources directly rather than going through a proxy.
  757. #       Default:  <none>
  758. #       Syntax:  no_proxy <template>
  759. # Examples:
  760. # http_proxy      http://outer.proxy.server/
  761. # ftp_proxy        http://outer.proxy.server/
  762. # gopher_proxy   http://outer.proxy.server/
  763. # wais_proxy      http://outer.proxy.server/
  764. # no_proxy    .my.domain,.ibm.com:8001
  765. #
  766. ###########################################################################################
  767.  
  768.  
  769. ###########################################################################################
  770. #
  771. #  ServerPriority directive:
  772. #     Syntax:  ServerPriority  0|1|2
  773. #     Default:  1
  774. #     Note:    This is the priority class on you system you want your server to run.
  775. #              0 -  normal process (no priority)
  776. #              1 -  maximum priority as a normal process
  777. #              2 -  maximum priority as a server foreground process.
  778. ###########################################################################################
  779. ServerPriority 1
  780.  
  781. ###########################################################################################
  782. #
  783. #     Path and name of files that are to be loaded into memory each time the
  784. #     server is started.  This directive may occur multiple times within the
  785. #     configuration file.  The name must be fully qualified and may not contain
  786. #     any wildcard charcters.
  787. #     Syntax:  CacheLocalFile  <file path>
  788. #     Default: <none>
  789. # Examples:
  790. # CacheLocalFile   /temp/path/index.html
  791. #
  792. ###########################################################################################
  793.  
  794. ###########################################################################################
  795. #
  796. #  imbeds:
  797. #    Use this directive to enable server side includes.
  798. #    Syntax:  imbeds   <on/off/files/cgi><.suffix>
  799. #             <.suffix> is optional - if present, it limits which files are
  800. #             parsed for server side includes.
  801. #    Default: on .shtml
  802. #    If more than one imbeds directive is specified, the last one is used.
  803. #
  804. ###########################################################################################
  805. imbeds on .shtml
  806.  
  807.  
  808. ###########################################################################################
  809. ### Added for Web Administration
  810. #
  811. Fail /adm-bin
  812. #
  813. #our protection setup
  814. Protection ADMINPROT {
  815.     AuthType Basic
  816.     ServerId /
  817.     GetMask All
  818.     PostMask All
  819. }
  820. Authentication Basic WAAUTH:Authentication
  821. #
  822. # resources being protected (multiple Protect directives are allowed)
  823. Protect /adm-bin/* ADMINPROT
  824. #
  825. ###########################################################################################
  826.  
  827. ###########################################################################################
  828. #
  829. # Server-side imagemap support
  830. #
  831. ###########################################################################################
  832.  
  833. service /cgi-bin/htimage*  INTERNAL:HTImage*
  834. service /cgi-bin/imagemap* INTERNAL:HTImage*
  835.